﻿using Dapper_Core.Basic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Dapper_Core.Table
{
    public class V_WorkflowTransition : BaseModel
    {
        /// <summary>
        /// Guid主键，主键必须加[Key]特性，若想对名为Id的列赋值必须加[Required]特性
        /// </summary>
        [Key]
        public string Id { get; set; }
        public string WorkflowCode { get; set; }
        public string WorkflowName { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public string FromCode { get; set; }
        public string FromNodeName { get; set; }
        public string FromNodeType { get; set; }
        public string ToCode { get; set; }
        public string ToNodeName { get; set; }
        public string ToNodeType { get; set; }

    }
}
